-- GENERATED SPELL FOR [Serfex the Reaver] --


function spell0_28083(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(31747,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28083', 2000, 1)
end

function Sorts_28083(pUnit, Event)
local choix_sorts_28083 = math.random(0, 0)
if choix_sorts_28083 == 0 then
pUnit:RegisterEvent('spell0_28083', 1, 1)
end
end

function mob28083_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28083', math.random(1500, 3000), 1)
end

function mob28083_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28083_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28083_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28083, 1, 'mob28083_Action')
RegisterUnitEvent(28083, 2, 'mob28083_Leave')
RegisterUnitEvent(28083, 3, 'mob28083_Kill')
RegisterUnitEvent(28083, 4, 'mob28083_Die')
